//
//  MBGoodsNetTool.h
//  MemberBusiness-ios
//
//  Created by cherry pu on 2018/4/23.
//  Copyright © 2018年 zhangXin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBHTTPTool.h"
#import "MBSellerGoodsParam.h"
#import "MBGoodsInfoParam.h"

@interface MBGoodsNetTool : NSObject

/**
 商品列表
 
 @param param 参数包装
 @param response 成功回调
 @param failure 失败回调
 */
+(void)netToolPostSellerGoodsParam:(MBSellerGoodsParam*)param success:(MBResponseBlock)response failure:(MBRequestFailure)failure;


/**
 商品上下架

 @param param 参数包装
 @param response 成功回调
 @param failure 失败回调
 */
+(void)netToolPostGoodsLowerParam:(MBSellerGoodsParam*)param success:(MBResponseBlock)response failure:(MBRequestFailure)failure;

/**
 获取商品评论列表
 
 @param param 参数包装
 @param response 成功回调
 @param failure 失败回调
 */
+(void)netToolGoodsCommentWithParam:(MBGoodsInfoParam*)param success:(MBResponseBlock)response failure:(MBRequestFailure)failure;

/**
 商品详情
 
 @param param 参数包装
 @param response 成功回调
 @param failure 失败回调
 */
+(void)netToolGoodsInfoWithParam:(MBGoodsInfoParam*)param success:(MBResponseBlock)response failure:(MBRequestFailure)failure;

@end
